package com.whl.sm.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/**
 * 树形结构Dto
 * */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeDto implements Serializable {
    private String id;
    private String label;
    private List<TreeDto> children = new ArrayList<>();
}
